package com.seecen.cywbackend.pojo;

import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * @TableName t_dynamic
 */
@TableName(value ="t_dynamic")
@Data
public class Dynamic implements Serializable {
    @TableId(type = IdType.AUTO)
    private Integer id;

    private Integer groupId;

    private String title;

    private String thumbs;//缩略图

    private String content;

    private Long creator;

    private Date createTime;

    private Date lastUpdateTime;

    private Integer likeCount;

    private Integer favoriteCount;

    private Integer commentCount;

    private Integer postCount;

    private Integer isEssence;

    @TableLogic
    private Integer isDeleted;

    @Version
    private static final long serialVersionUID = 1L;
}
